#include "RobotFactory.h"
#include "RobotFactoryImpl.h"
#include "ObstacleFactory.h"
#include "ObstacleFactoryImpl.h"
#include "plugin.h"
#include <fstream>
#include <iostream>

using namespace std;

void pluginLog(const char* msg) {
	ofstream a_file("log.txt");
	a_file << msg << "\n";
	a_file.close();
}

RobotFactory* createRobotFactory() {
	return new RobotFactoryImpl();
}

ObstacleFactory* createObstacleFactory() {
	pluginLog("creating OF");
	return new ObstacleFactoryImpl();
}

